import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import "../src/assets/css/index.less";
import Api from "../src/api/index.js";
import store from "../src/store";
import quinn from "../src/utils/quinn";
import { IMG_HOST, $acc, PRO_CONFIG } from "@/assets/js/define.js";
// import vc from "vconsole";

// if (import.meta.env.MODE == "dev") new vc();

Vue.use(ElementUI);
Vue.use(Api);
Vue.prototype.$quinn = quinn;
Vue.prototype.$acc = $acc;
Vue.prototype.$imgHost = IMG_HOST;
Vue.prototype.$proConfig = PRO_CONFIG;
window.$quinn = Vue.prototype.$quinn;

new Vue({ router, store, render: (h) => h(App) }).$mount("#nested");
